﻿#ifndef CAlarmTable_H
#define CAlarmTable_H
/********************************************************************************
** @ Date:2025/08/21
** @ Author: HanJiaXin
** @ Description:摄像头报警列表卡片
** @ Version:1.0.0
** @ ClassName:CAlarmTable
** @ Fun:
********************************************************************************/
#include <QWidget>
#include <QTimer>
#include "ui_CAlarmTable.h"
#include "CDevDataCam.h"

class CAlarmTable : public QWidget
{
	Q_OBJECT

public:
	CAlarmTable(CDevDataCam* pDevData,QWidget *parent = nullptr);
	~CAlarmTable();

private:
	void initUI();//初始化UI界面

private slots:
	void slotShowImg(QString sUrl);
	void slotMore();
	void slotRefreshUI();

public slots:
	void refreshData(bool bRefresh);

signals:
	void sigShowImg(QString sUrl);

private:
	Ui::CAlarmTableClass ui;
	CDevDataCam* m_pDevData;
	QTimer* m_pTimer;
	QStandardItemModel* m_pModel; //表格数据集
};

#endif